/**
 * 
 */
package dms.service;

import dms.model.role.Account;

/**
 * @author 李健
 *
 */
public interface AccountService {
	Account getAccount(long id);
	
	Account getAccount(String name);
	
	boolean checkAccountExist(String name);
	
	void changePassword(String name, String newPassword);
}
